package com.stottlerhenke.simbionic.editor.parser;

import com.stottlerhenke.simbionic.api.SB_VarType;

public class SB_VariableNode extends SB_ConstantNode {
  private String _name;
  public SB_VariableNode( String varName,SB_VarType type) {
    super(type);
    _name = varName;
  }
  public String ToString() { return _name; }
  public boolean ContainsVariable( String varName)
  {
        return (_name == varName);
  }
  public boolean ContainsFunction(String funcName) { return false; }
  public SB_ErrorNode GetNextError(SB_ErrorNode lastError) { return null; }
}